package com.guoxin.chapter4.reentractlock.awaituninterruptiblytest1;

public class Run {
	public static void main(String[] args) throws InterruptedException {
		Service service = new Service();
		Thread a = new Thread("A") {
			public void run() {
				service.testMethod();
			};
		};
		a.start();
		Thread.sleep(3000);
		a.interrupt();
	}
}
